package com.youko.backstage.mapper.commodity;

import com.youko.backstage.bean.commodity.PicturePath;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface PicturePathMapper {
    /**
     * 插入新的图片路径
     */
    void insertPicturePath(PicturePath picturePath);

    /**
     * 根据SpuId查图片路径
     */
    List<PicturePath> selectPicturePathBySpuId(int spuId);

}
